<extend name="Layout/dialog" />
<block name="css"></block>
<block name="style"></block>
<block name="js"></block>
<block name="script"></block>
<block name="model">商品关联信息</block>
<block name="controller">商品关联信息</block>
<block name="action">新增商品关联信息</block>
<block name="desc"></block>
<block name="content">
<div class="box box-success">
	<div class="box-header with-border">
		<h3 class="box-title">新增商品关联信息</h3>
	</div>
	<form class="form-horizontal" action="{:U('save')}" method="post" rel-action="form" rel-success="reload()">
		<div class="box-body">
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>商品类型</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="commodity_type" placeholder="请输入商品类型"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>分期数</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="stages_num" placeholder="请输入分期数"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>商品总金额</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="total_money" placeholder="请输入商品总金额"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>首付值</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="down_payment" placeholder="请输入首付值"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">商品直降金额</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="reduce_price" placeholder="请输入商品直降金额"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">排序</label>
				<div class="col-sm-10">
					<input type="number" class="form-control" name="order" placeholder="请填写整数，数字越小越靠前" autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">状态</label>
				<div class="col-sm-10 radio">
					<label><input type="radio" name="status" value="1" checked="checked">正常</label>
					<label><input type="radio" name="status" value="0">锁定</label>
				</div>
			</div>
		</div>
		<div class="box-footer">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">保存</button>
				<button type="button" class="btn btn-default" rel-action="dialog-close">关闭</button>
			</div>
		</div>
	</form>
</div>
</block>